]> dgit.raspbian.org Git - gnome-shell.git/commit
workspacesView: Use work area for default geometry
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 25 Jun 2020 23:08:29 +0000 (01:08 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 6 Jul 2020 22:06:53 +0000 (00:06 +0200)
commit5e4b65d37ef3c9acc2ae4875778173d53ec50e2b
tree47a1bb3d04a1182eac8e9997e1a4bde59046c1db
parent51fd0875d186109124894d09b74226162479e06c
workspacesView: Use work area for default geometry

The workspace's layout manager keeps the workspace at the same ratio as
the work area, so it makes more sense to base the views' default geometry
on that as well than the monitor area we are using right now.

(It shouldn't matter much in practice, as this only affects views on
non-primary monitors where the work area usually matches the monitor area)

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1345
js/ui/workspacesView.js